package com.dlsy.ygj.entity;

import java.util.List;

/**
 * FavouredPlanSection entity. @author MyEclipse Persistence Tools
 */

public class FavouredPlanSection implements java.io.Serializable {

	// Fields

	private Integer favouredPlanSectionId;
	private Double beginMoney;
	private Double endMoney;
	private String favouredType;
	private List<MainItemInfo> mainItemInfos;
	private List<GoodsInfo> goodsinfos;
	public List<MainItemInfo> getMainItemInfos() {
		return mainItemInfos;
	}

	public void setMainItemInfos(List<MainItemInfo> mainItemInfos) {
		this.mainItemInfos = mainItemInfos;
	}

	public List<GoodsInfo> getGoodsinfos() {
		return goodsinfos;
	}

	public void setGoodsinfos(List<GoodsInfo> goodsinfos) {
		this.goodsinfos = goodsinfos;
	}

	public String getFavouredType() {
		return favouredType;
	}

	private String favoredTypeContext;
	

	private Integer favoredId;
	private Integer storefrontId;


	public Integer getStorefrontId() {
		return storefrontId;
	}

	public void setStorefrontId(Integer storefrontId) {
		this.storefrontId = storefrontId;
	}
	// Constructors

	/** default constructor */
	public FavouredPlanSection() {
	}

	/** full constructor */
	public FavouredPlanSection(Double beginMoney, Double endMoney,
			String favouredType, String favoredTypeContext, Integer favoredId,Integer strorefrontId) {
		this.beginMoney = beginMoney;
		this.endMoney = endMoney;
		this.favouredType = favouredType;
		this.favoredTypeContext = favoredTypeContext;
		this.favoredId = favoredId;
		this.storefrontId=strorefrontId;
	}

	// Property accessors

	public Integer getFavouredPlanSectionId() {
		return this.favouredPlanSectionId;
	}

	public void setFavouredPlanSectionId(Integer favouredPlanSectionId) {
		this.favouredPlanSectionId = favouredPlanSectionId;
	}

	public void setFavouredType(String favouredType) {
		this.favouredType = favouredType;
	}
	public Double getBeginMoney() {
		return this.beginMoney;
	}

	public void setBeginMoney(Double beginMoney) {
		this.beginMoney = beginMoney;
	}

	public Double getEndMoney() {
		return this.endMoney;
	}

	public void setEndMoney(Double endMoney) {
		this.endMoney = endMoney;
	}

	public String getFavoredTypeContext() {
		return this.favoredTypeContext;
	}

	public void setFavoredTypeContext(String favoredTypeContext) {
		this.favoredTypeContext = favoredTypeContext;
	}

	public Integer getFavoredId() {
		return this.favoredId;
	}

	public void setFavoredId(Integer favoredId) {
		this.favoredId = favoredId;
	}

}